package com.tbit.uqbike.object.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * geoRegionBound(GeoRegionBound)实体类
 *
 * @author jing
 * @since 2020-11-24 09:43:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GeoRegionBound implements Serializable {
    private static final long serialVersionUID = 459116690395215053L;
    /**
     * 运营区域id
     */
    private Integer accountId;
    /**
     * 分区id
     */
    private Integer regionId;
    /**
     * 运维人员id
     */
    private Integer accountUserId;
    /**
     * 运维人员名称
     */
    private String name;
    /**
     * 是否是负责人
     */
    private Integer isLeader;
    /**
     * 绑定时间
     */
    private Date boundTime;
    /**
     * 备注
     */
    private String remark;

    public GeoRegionBound(Integer accountId, Integer regionId, Integer accountUserId) {
        this.accountId = accountId;
        this.regionId = regionId;
        this.accountUserId = accountUserId;
    }

    public GeoRegionBound(Integer regionId, Integer isLeader) {
        this.regionId = regionId;
        this.isLeader = isLeader;
    }

    public GeoRegionBound(Integer regionId) {
        this.regionId = regionId;
    }
}